<div id="content">
  <div id="user-tb">
    <div id="title">
      <h1>登录</h1>
      <p class="tips">如果您是多背一公斤论坛的注册用户，可以使用您论坛账户的注册邮件和密码登录</p>
    </div>
    <%= error_messages_for :user %>
  	<% form_tag session_path do -%>
  	<table border="0" cellspacing="5" cellpadding="5" align="center">
  	 <tr>
  	   <td width="80" class="right">邮件地址</td>
  	   <td width="250"><%= text_field_tag 'email' %></td>
  	 </tr>
  	 <tr>
  	   <td width="80" class="right">密码</td>
  	   <td width="250"><%= password_field_tag 'password' %></td>
  	 </tr>
  	 	<!-- Uncomment this if you want this functionality-->
  	 <tr>
  	   <td width="80" class="right"><%= check_box_tag 'remember_me' %></td>
  	   <td width="250">在这台电脑上记住我</td>
  	 </tr>
  	</table>
  	<p><%= submit_tag '登录' %></p>
  	<% end -%>
  </div>
</div>

